//
//  JSQCategoryView.h
//  SkyHospital
//
//  Created by C_HAO on 15/4/22.
//  Copyright (c) 2015年 GrayWang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JSQEmoticonView.h"


@protocol JSQCategoryViewDelegate <NSObject>

- (NSInteger)categoryView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section;

- (void)categoryView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath categoryImageView:(UIImageView *)categoryImageView categoryLabel:(UILabel *)categoryLabel;

- (void)selectedCategoryType:(NSInteger)categoryType;

@end

@interface JSQCategoryView : UIView <UICollectionViewDataSource, UICollectionViewDelegate>

@property(nonatomic, weak) id <JSQCategoryViewDelegate> delegate;

@property (weak, nonatomic) IBOutlet UICollectionView *collectionView;

@end
